package com.leejxx.health.dao;

import com.leejxx.health.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author LeeJx
 * @ClassName OrderSettingDao
 * @Description TODO
 * @date 2021/1/3 21:34
 * @Version 1.0
 */
public interface OrderSettingDao {
    void addAll(@Param("orderSettingList") List<OrderSetting> orderSettingList);

    OrderSetting findByDate(@Param("orderDate") String orderDate);

    void add(OrderSetting orderSetting);

    void update(OrderSetting orderSetting);

    List<OrderSetting> findOrderSetting(@Param("date") String date);

    void editNumber(@Param("orderDate") String orderDate, @Param("number") String number);

    void updateReservationsById(@Param("id") Integer id, @Param("reservation") int reservation);
}
